﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<hercules.Models.Compra>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Delete</h2>

<h3>Você tem certeza que quer deletar esse cliente?</h3>
<fieldset>
    <legend>Compra</legend>

    <div class="display-label">Funcionário</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Pessoa1.cpf) %>
    </div>

    <div class="display-label">Fornecedor</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Pessoa.cpf) %>
    </div>

    <div class="display-label">Data Emissao</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.dataEmissao) %>
    </div>

    <div class="display-label">Base Calculo ST</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.baseCalculoST) %>
    </div>

    <div class="display-label">Valor Nota</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorNota) %>
    </div>

    <div class="display-label">Base Calculo Icms</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.baseCalculoIcms) %>
    </div>

    <div class="display-label">Valor Icms</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorIcms) %>
    </div>

    <div class="display-label">Valor ST</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorST) %>
    </div>

    <div class="display-label">Status Compra</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.statusCompra) %>
    </div>
</fieldset>
<% using (Html.BeginForm()) { %>
    <p>
        <input type="submit" value="Delete" /> |
        <%: Html.ActionLink("Voltar", "Index") %>
    </p>
<% } %>

</asp:Content>
